<script>
  import Main from "@/components/Main.vue";

  export default {
    name: 'HomeView',
    components: {Main},
  }
</script>

<template>
  <div>
    <el-container>
      <el-aside width="200px" style="min-height: 70vh; background-color: #001529">
        <div style="height: 60px">
          <img src="" alt="">
          <span style="font-size: 24px; color: white; display: flex; justify-content: center; align-items: center">你好，2024</span>
        </div>

        <el-menu router>
          <el-menu-item index="/">首页</el-menu-item>
          <el-menu-item index="/Main1">信息</el-menu-item>
          <el-menu-item index="/Login">登录注册</el-menu-item>
          <el-menu-item>首页</el-menu-item>
        </el-menu>
      </el-aside>

      <el-container>
        <el-header></el-header>
        <router-view></router-view>
      </el-container>
    </el-container>
  </div>
</template>

<style scoped>
.el-header {
  box-shadow: 2px 0 6px rgba(0, 21, 41, .35);
}
</style>